package com.spring.study.bean;

import org.springframework.stereotype.Component;

/**
 * @author: 若若叶
 * @date: 2021/8/10 13:02
 * FileName: User
 * Description:
 */
@Component
public class User {
    private String username;
    private String password;

    public void setUsername(String username) {
        this.username = username;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void print() {
        System.out.println(username + ":" + password);
    }
}
